﻿@section PageTitle { Polygon Shape Layer }

<pre class="prettyprint">
@@Html.DynamicImageTag(b => b.WithLayer(
	LayerBuilder.PolygonShape.Width(300).Height(250).Fill("#AECDEF").Sides(5)
		.StrokeDashStyle(DashStyle.Dash)
		.StrokeWidth(3).StrokeFill("#345678").Roundness(25)
		.WithFilter(
			FilterBuilder.DropShadow.Size(10).Distance(10).Color(Colors.LightGray)
		)
	))
</pre>

<p>
	@Html.DynamicImageTag(b => b.WithLayer(
		LayerBuilder.PolygonShape.Width(300).Height(250).Fill("#AECDEF").Sides(5)
			.StrokeDashStyle(DashStyle.Dash)
			.StrokeWidth(3).StrokeFill("#345678").Roundness(25)
			.WithFilter(
				FilterBuilder.DropShadow.Size(10).Distance(10).Color(Colors.LightGray)
			)
	))
</p>